package org.xb.DemoDecorator;

/**
 * @Author
 * @Description
 * @Date created in 9:55 2023/12/7
 */
public class Decorator extends Component{
    protected Component component;

    public void setComponent(Component component) {
        this.component = component;
    }

    @Override
    void orderMilkTea() {
        component.orderMilkTea();
    }
}
